package com.yznote.cloudesk.user.mapper;

import com.yznote.cloudesk.common.pojo.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface NoticeMapper {
    Integer insertNotice(Notice notice);

    List<Notice> pullNotice(Long userId);
}
